<style type="text/css">
#top{
	border:1px solid #ccc;
}
#panel{
	position:relative;
	background:#f0f0f0;
	display:none;
	width:100%;
	height:37px;
	margin-bottom:-5px;
	padding-top:2px;
	font-size:14px;
	color:#666;
	line-height:center;
}
#panel input.text{
	height:21px;
	margin-right:3px;
}
#logoPic{
	position:relative;
	top:7px;
}
#slide{
	margin-top:3px;
	background:#f0f0f0;
	text-align:left;
	height:10px;
    position:relative;
}
#slide img{
	position:absolute;
	left:0;
	top:0;
	cursor:pointer;
}
#close{
	position:absolute;
	right:1em;
	bottom:2px;
	cursor:pointer;
}
.middle{
	position:relative;
	top:4px;
}
#VCode{
	position:relative;
	top:7px;
	cursor:pointer;
}
.left2em{margin-left:2em;}
</style>
<!-- <script type="text/javascript" src="../jquery.js"></script> -->
<script type="text/javascript">
$(function(){
	$("#slide").children().mouseover(function(){
		$("#panel").slideDown("normal");
	});
	$("#close").click(function(){
		$("#panel").slideUp("normal");
	});
});
function clickLogin(){
	
		$("#panel").show("slow");

}
function changeVCode(){
	var newSrc = $("#VCode").attr("src")+"?rd="+Math.random();
	$("#VCode").attr("src",newSrc);
}
</script>
<div id="top">
	<form id="panel" action="LoginAction.php" method='post'>
		<label class="left2em" for='username'>用户名</label>
		<input id='user' size='15' name="username" type="text"  class="text"/>
		&nbsp;
		<label for="userpwd"> 密码</label>
		<input id="userpwd" size='8' name="userpwd" type="password"  class="text"/>
		&nbsp;
		<label for="vcode"> 验证码</label>
		<input type="text" size='8' name="verify" class="text"/>
		<img src="Public/Vcode.php" id="VCode" alt="点击更换" title="点击更换" onclick="changeVCode();"/>
		&nbsp;
		<input type="image" src="Public/Images/login.jpg" id="logoPic" />
		&nbsp;
		<a onclick="javascript:window.open('PwdFind.php?flag=display','pwdfind','width=400,height=400,top=0,left=0,resizable=no');">忘记密码？</a>		
		<img id='close' src="Public/Images/hide/close.jpg" alt="点击关闭" title="点击关闭"/>
	</form>
	<div id='slide'><img src='Public/Images/hide/lock.gif' alt="点击打开登录窗口" title="鼠标停留打开登录窗口"/></div>
</div>
